#!/usr/bin/env python
# coding: utf-8

# In[1]:


from flask import Flask, render_template, request, jsonify 


# In[11]:


app = Flask(__name__)


# In[12]:


@app.route("/")
def home():
    return render_template('h1.html')


# In[13]:


@app.route("/show", methods=["GET"])
def show():
    # 直接返回固定值1
    return 'hello world'


# In[14]:


if __name__ == "__main__":
    app.run(host="127.0.0.1", port=5000)


# In[ ]:




